package com.example.mykotlinapp

/**
 *
 *
 * @author zhudeshuai
 * @since 2019/6/28
 */


//可变参数
private fun test03() {
    val params = arrayOf("java", "C")
    val list = listOf("args", *params)
    println(list)
}

//中缀调用
private fun test30() {
    val map = mapOf(1 to "one", 7 to "seven", 9 to "nine")

}

//分割字符串

private fun test31(){
    val target = "12.345-67.A"
    println(target.split(".".toRegex()))
    println(target.split("."))
    println(target.split(".","-"))
}

//正则表达式和三重引号的字符串


private fun test32(){
    val target = "D:/soft/flutter/flutter_console.bat"
}

private fun main() {
    test32()
}